package com.wx.mall.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author j
 * @since 2020-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pro_album")
@ApiModel(value="Album对象", description="")
public class Album implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "编号")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "相册名称")
    private String title;

    @ApiModelProperty(value = "相册封面")
    private String image;

    @ApiModelProperty(value = "图片列表(图片用逗号分隔)")
    private String imageItems;

    @ApiModelProperty(value = "添加时间")
    private Date addTime;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty(value = "描述")
    private String instruction;

    @ApiModelProperty(value = "图片数量")
    private String imageNum;


}
